error handling promises javascript

visit shbcf.ru